// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   StaffDepartmentServiceImpl.java

package com.hfstu.pms.dataaccess.service.impl;

import com.hfstu.framework.core.orm.Page;
import com.hfstu.framework.core.orm.PageRequest;
import com.hfstu.pms.dataaccess.dao.IStaffDepartmentDao;
import com.hfstu.pms.dataaccess.service.IStaffDepartmentService;
import com.hfstu.pms.model.StaffDepartment;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

public class StaffDepartmentServiceImpl
	implements IStaffDepartmentService
{

	private IStaffDepartmentDao staffDepartmentDao;

	public StaffDepartmentServiceImpl()
	{
		staffDepartmentDao = null;
	}

	public StaffDepartment save(StaffDepartment entity)
	{
		return (StaffDepartment)staffDepartmentDao.save(entity);
	}

	public StaffDepartment update(StaffDepartment entity)
	{
		return (StaffDepartment)staffDepartmentDao.update(entity);
	}

	public StaffDepartment saveOrUpdate(StaffDepartment entity)
	{
		return (StaffDepartment)staffDepartmentDao.saveOrUpdate(entity);
	}

	public void delete(String id)
	{
		staffDepartmentDao.delete(id);
	}

	public void delete(StaffDepartment entity)
	{
		staffDepartmentDao.delete(entity);
	}

	public StaffDepartment getById(String id)
	{
		return (StaffDepartment)staffDepartmentDao.getById(id);
	}

	public List getByIds(String ids[])
	{
		return staffDepartmentDao.getByIds(ids);
	}

	public List findAll()
	{
		return staffDepartmentDao.findAll();
	}

	public List findListByCondition(Map filterPropertyMap, Map sortValueMap)
	{
		return staffDepartmentDao.findListByCondition(filterPropertyMap, sortValueMap);
	}

	public Page findPageByCondition(PageRequest pageRequest, Map filterPropertyMap, Map sortValueMap)
	{
		return staffDepartmentDao.findPageByCondition(pageRequest, filterPropertyMap, sortValueMap);
	}

	public IStaffDepartmentDao getStaffDepartmentDao()
	{
		return staffDepartmentDao;
	}

	public void setStaffDepartmentDao(IStaffDepartmentDao staffDepartmentDao)
	{
		this.staffDepartmentDao = staffDepartmentDao;
	}

	public volatile Object getById(Serializable serializable)
	{
		return getById((String)serializable);
	}

	public volatile Object save(Object obj)
	{
		return save((StaffDepartment)obj);
	}

	public volatile Object saveOrUpdate(Object obj)
	{
		return saveOrUpdate((StaffDepartment)obj);
	}

	public volatile void delete(Object obj)
	{
		delete((StaffDepartment)obj);
	}

	public volatile void delete(Serializable serializable)
	{
		delete((String)serializable);
	}

	public volatile List getByIds(Serializable aserializable[])
	{
		return getByIds((String[])aserializable);
	}

	public volatile Object update(Object obj)
	{
		return update((StaffDepartment)obj);
	}
}
